package com.zhyt.intelligentpipeline.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import java.util.ArrayList;
import java.util.List;

@Controller
public class IndexController {

    @RequestMapping("/")
    public String welcomePage(){
        System.out.println("welcome page");
        return "forward:index.html";
    }



//    @Autowired
//    private StationMapper stationMapper;
//    @ResponseBody
//    @GetMapping("station")
//    public Station test1(){
//        return stationMapper.selectById("b6d280d1-310b-4f6a-bbe4-b2be7309e893");
//    }

}
